package com.dhl.stategy.comparter.cat;

import com.dhl.stategy.comparter.Cat;

import java.util.Comparator;

/**
 * @author 10720
 */
public class CatPriceComparator implements Comparator<Cat> {
    @Override
    public int compare(Cat o1, Cat o2) {
        return o1.getPrice()-o2.getPrice();
    }
}
